
#include <sstream>
#include <iostream>
using namespace std;

#include <boost/progress.hpp>
using namespace boost;

#include <unistd.h>

int main()
{
    {
        boost::progress_timer t;
        sleep(3);
    }

    {
        boost::progress_timer t;
    }

    stringstream ss;
    {
        progress_timer t(ss);
    }
    cout<<ss.str();
}

